﻿using System.Collections.Generic;
using Citi.RoutineBase;

namespace Citi.PTSConsolidation.SchedulerUI.Bases
{
    public abstract class ReportPreviousYear : PreviousYear 
    {
        public new IEnumerable<RoutineParameter> Parameters
        {
            get
            {
                return new List<RoutineParameter> { 
                    new RoutineParameter{ Description = "Finish Month to generate Previous Year Report", Name ="FinishMonth", Nullable= true, Required = false, Type = typeof(int)},
                    new RoutineParameter{ Description = "Email to send when some error occurs. Separated by Semicolons(;).", Name ="EmailAddressError", Nullable= false, Required = true, Type = typeof(string)},
                    new RoutineParameter{ Description = "Users that must receive email when the reports are available. Separated by Semicolons(;).", Name ="EmailAddressUsers", Nullable = false, Required = true, Type = typeof(string)}
                };
            }
        }
    }
}
